﻿@model WebEntities.WI_News

@{
    ViewBag.Title = Model != null ? Model.NewsTitle : "员工风采";
    Layout = "~/Views/Shared/_DefLayout.cshtml";
}

<div class="topadimg"><img src="/Images/banner01.jpg" /></div>
<div class="subleft">
    <h2>
        <img src="/Images/subicon01.jpg" alt="" />
        <span>关于我们</span>
    </h2>
    @Html.Action("LeftMenu", new { muflag = "employee" })
</div>

<div class="subright">
    <div class="pagepath">
        <a href="/"><img src="/Images/homeicon.jpg" alt="首页" /></a> &gt; 
        <a href="/aboutus">关于我们</a> &gt; 
        <a href="/aboutus/employee">员工风采</a> &gt; 
        @if (Model != null)
        {
            <span>@Model.NewsTitle</span>
        }
    </div>
    <div class="pagehead2">员工风采</div>
    <div class="midcontent">
    @if (Model != null)
    {
        <div>
            <div style="float:left"><img src="@Model.NewsCover" alt="@Model.NewsTitle" class="empactcover" /></div>
            <h1 class="newstitle">@Model.NewsTitle</h1>
            <div class="cls"></div>
        </div>
        <div class="newsinfo">
            <span>发布时间：@((Model.PubTime.HasValue ? Model.PubTime : Model.CreateTime).Value.ToString("yyyy/MM/dd"))</span>
            <span>文章作者：@(string.IsNullOrWhiteSpace(Model.Publisher) ? string.Empty : Model.Publisher)</span>
            <span>阅读次数：@(Model.ViewCount ?? 0)次</span>
        </div>
        <div>@Html.Raw(Server.HtmlDecode(Model.Description))</div>
    }
    </div>
</div>
<div class="cls"></div>

